package com.redis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author CKC
 * @DateTime 2021/11/13 8:14
 */
@SpringBootApplication
public class RedisApplication {
    public static void main(String[] args) {
        SpringApplication.run(RedisApplication.class, args);

    }



    public void sss(){
        List<String> collect = new ArrayList<String>().stream().map(k -> k.substring(0, 6)).collect(Collectors.toList());

    }
}
